package com.enba.rbacadmin.module.dict.controller.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

@ApiModel(description = "字典分页响应类")
@Data
public class SysDictPageResp implements Serializable {
  private static final long serialVersionUID = 1L;

  private Long id;

  @ApiModelProperty("字典名称")
  private String dictName;

  @ApiModelProperty("字典编码")
  private String dictCode;

  @ApiModelProperty("字典描述")
  private String description;

  @ApiModelProperty("字典状态（0：禁用 1：可用）")
  private Integer status;

  @ApiModelProperty("创建时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime createTime;

  private LocalDateTime updateTime;

  private String createBy;

  private String updateBy;

  private Integer delFlag;
}
